﻿html,
body {
    background-color: #eee;
    height: 100%;
    padding: 10px;
}

.wrapper {
    position: relative;
    height: 100%;
    border-radius: 6px;
    background-color: #fff;
    border: 1px solid #ccc;
}

.wrapper h1 {
    font-size: 4em;
    padding-left: 15px;
    border-bottom: 1px dotted #ccc;
}

article {
    padding: 20px 30px;
    overflow-y: auto;
}

article h3 {
    font-size: 4em;
    font-weight: 400;
    margin: 8px 0;
    border-bottom: 1px dotted #ccc;
}
article p {
    font-size: 4em;
    font-weight: 400;
    margin: 8px 0;
    border-bottom: 1px dotted #ccc;
}

.m-center {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
    width: 2px;
    height: 2px;
    background-color: #F5F5F5;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, .3);
    background-color: #555;
}